#ifndef __USART_DMA_AS_H
#define __USART_DMA_AS_H

#ifdef __cplusplus
extern "C" {
#endif

/* 包含头文件-----------------------------------------------------------------*/
#include "stm32f10x.h"

/* 宏定义---------------------------------------------------------------------*/

/* 类型定义-------------------------------------------------------------------*/

/* 全局变量-------------------------------------------------------------------*/

/* 函数原型-------------------------------------------------------------------*/
void usart1_dma_init_config(uint32_t baudRate, uint8_t *pTxBuf, uint16_t txBufLen, uint8_t *pRxBuf, uint16_t rxBufLen);
void usart1_dma_tx_reconfig(uint16_t num);
void usart1_dma_rx_reconfig(uint16_t num);

#ifdef __cplusplus
}
#endif

#endif /* usart_dma.h */
